#ifndef HPLC_QINFINE_DETECTORPARSESYSTEMPACKET_H
#define HPLC_QINFINE_DETECTORPARSESYSTEMPACKET_H

#include <QObject>
#include "modulehplcdetectordefine.h"

namespace hplc
{
namespace qinfine
{

class HplcQinfineDetectorProtocolData;
class HplcQinfineDetectorParseSystemPacket : public QObject
{
    Q_OBJECT
public:
    HplcQinfineDetectorParseSystemPacket(HplcQinfineDetectorProtocolData &data, DetectorParam &param, QObject *parent = nullptr);

    void parseSet(quint8 pfc, char *data);
    void parseGet(quint8 pfc, char *data);

signals:
    void parseCompleted(int id, const QVariant &data);

protected:
    HplcQinfineDetectorProtocolData *m_d = nullptr;

    DetectorParam		*m_param;
};

} // detector
} // hplc


#endif // HPLC_QINFINE_DETECTORPARSESYSTEMPACKET_H
